package com.company.project.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.FeignAutoConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 启动类
 *
 * @author admin
 * @date 2020/9/3 上午10:32
 */
@EnableSwagger2
@EnableDiscoveryClient
@MapperScan("com.company.project.demo.mapper.**")
@SpringBootApplication(exclude = {FeignAutoConfiguration.class},scanBasePackages = {"com.company.project.**"})
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}